#!/usr/bin/python 
a=["st1","st2","st3","st4","st5"]
s=3
t=0
for i in range(len(a)):
    ss=a[t:s]
    print ss
    t+=3
    s+=3
    if t > len(a):
        break
Exception.
print "sdfasdfasdfaf"